package zyc.service;

import zyc.pojo.Page;
import zyc.pojo.Student;

import java.util.List;

/**
 * @description:
 * @author: Code-zyc
 * @date: Created in 2020/12/21 14:13
 * @version: v1.0
 * @modified By:
 */
public interface StudentService {

    List<Student> getstudents(Page page);

    void deletestudent(Integer id);

    void updatestudent(Student student);

    Student getstudentByid(Integer id);

    void creatStudent(Student student);

    Integer getCount();

    Student getstudentBysid(Integer sid);

    List<Student> getstudentsByname(String name);

    List<Student> getstudentsBymath(Double math);

    List<Student> getstudentsByAsc(String type);

    List<Student> getstudentsByDesc(String type);

    Student getstudentBySidPass(Integer sid, String password);
}
